package com.qlmjx.sevalopos;

import android.app.Application;
import android.support.multidex.MultiDex;

import com.activeandroid.ActiveAndroid;

/**
 * Created by sa on 2018/7/27.
 */

public class QlmApplication extends Application {


    public static QlmApplication myApplication;

    @Override
    public void onCreate() {
        super.onCreate();
        //保存当前程序的实例对象
        myApplication = this;
        MultiDex.install(this);

    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        ActiveAndroid.dispose();
    }
}
